import java.util.Random;


public class PatientGenerator {

	Random randy = new Random();
	double d = randy.nextDouble();
	
	
if(d<0.000864304235090752){
	this.patType = 1;
	this.admit = true;
	this.acuity = 1;
	}
else if (d>=0.000864304235090752 && d<0.015989628349179){
	this.patType = 1;
	this.admit = true;
	this.acuity = 2;
	}
else if (d=>0.015989628349179 && d<0.0254969749351772){
	this.patType = 1;
	this.admit = true;
	this.acuity = 3;
	}
else if (d>=0.0254969749351772 && d<0.0254969749351772){
	this.patType = 1;
	this.admit = true;
	this.acuity = 4;
	}
else if (d>0.0254969749351772 && d<0.0254969749351772){
	this.patType = 1;
	this.admit = true;
	this.acuity = 5;
	}
else if (d>0.0254969749351772 && d<0.0256204469687616){
	this.patType = 1;
	this.admit = false;
	this.acuity = 1;
	}
else if (d>=0.0256204469687616 && d<0.0596987282380541){
	this.patType = 1;
	this.admit = false;
	this.acuity = 2;
	}
else if (d>=0.0596987282380541 && d<0.124027657735523){
	this.patType = 1;
	this.admit = false;
	this.acuity = 3;
	}
else if (d>=0.124027657735523 && d<0.125818002222497){
	this.patType = 1;
	this.admit = false;
	this.acuity = 4;
	}
else if (d>=0.125818002222497 && d<0.125818002222497){
	this.patType = 1;
	this.admit = false;
	this.acuity = 5;
	}
else if (d>=0.125818002222497 && d<0.126929250524756){
	this.patType = 2;
	this.admit = true;
	this.acuity = 1;
}
else if (d>=0.126929250524756 && d<0.128966539078899){
	this.patType = 2;
	this.admit = true;
	this.acuity = 2;
}
else if (d=>0.128966539078899 && d<0.129090011112483){
	this.patType = 2;
	this.admit = true;
	this.acuity = 3;
}
else if (d>=0.129090011112483 && d<0.129090011112483){
	this.patType = 2;
	this.admit = true;
	this.acuity = 4;
}
else if (d>0.129090011112483 && d<0.129090011112483){
	this.patType = 2;
	this.admit = true;
	this.acuity = 5;
}
else if (d>0.129090011112483 && d<0.129707371280405){
	this.patType = 2;
	this.admit = false;
	this.acuity = 1;
}
else if (d>=0.129707371280405 && d<0.136807013211508){
	this.patType = 2;
	this.admit = false;
	this.acuity = 2;
}
else if (d>=0.136807013211508 && d<0.141745894554883){
	this.patType = 2;
	this.admit = false;
	this.acuity = 3;
}
else if (d>=0.141745894554883 && d<0.14193110260526){
	this.patType = 2;
	this.admit = false;
	this.acuity = 4;
}
else if (d>=0.14193110260526 && d<0.141992838622052){
	this.patType = 2;
	this.admit = false;
	this.acuity = 5;
}
else if (d>=0.141992838622052 && d<0.142301518706013){
	this.patType = 3;
	this.admit = true;
	this.acuity = 1;
}
else if (d>=0.142301518706013 && d<0.143536239041857){
	this.patType = 3;
	this.admit = true;
	this.acuity = 2;
}
else if (d=>0.143536239041857 && d<0.143659711075441){
	this.patType = 3;
	this.admit = true;
	this.acuity = 3;
}
else if (d>=0.143659711075441 && d<0.143659711075441){
	this.patType = 3;
	this.admit = true;
	this.acuity = 4;
}
else if (d>0.143659711075441 && d<0.143659711075441){
	this.patType = 3;
	this.admit = true;
	this.acuity = 5;
}
else if (d>0.143659711075441 && d<0.143783183109026){
	this.patType = 3;
	this.admit = false;
	this.acuity = 1;
}
else if (d>=0.143783183109026 && d<0.145882207679961){
	this.patType = 3;
	this.admit = false;
	this.acuity = 2;
}
else if (d>=0.145882207679961 && d<0.147240400049389){
	this.patType = 3;
	this.admit = false;
	this.acuity = 3;
}
else if (d>=0.147240400049389 && d<0.125818002222497){
	this.patType = 3;
	this.admit = false;
	this.acuity = 4;
}
else if (d>=0.125818002222497 && d<0.1474256080997657){
	this.patType = 3;
	this.admit = false;
	this.acuity = 5;
}
else if (d>=0.1474256080997657 && d<0.150018520805038){
	this.patType = 4;
	this.admit = true;
	this.acuity = 1;
}
else if (d>=0.150018520805038 && d<0.154278305963699){
	this.patType = 4;
	this.admit = true;
	this.acuity = 2;
}
else if (d=>0.154278305963699 && d<0.154710458081245){
	this.patType = 4;
	this.admit = true;
	this.acuity = 3;
}
else if (d>=0.154710458081245 && d<0.154710458081245){
	this.patType = 4;
	this.admit = true;
	this.acuity = 4;
}
else if (d>0.154710458081245 && d<0.154710458081245){
	this.patType = 4;
	this.admit = true;
	this.acuity = 5;
}
else if (d>0.154710458081245 && d<0.154772194098037){
	this.patType = 4;
	this.admit = false;
	this.acuity = 1;
}
else if (d>=0.154772194098037 && d<0.15514261019879){
	this.patType = 4;
	this.admit = false;
	this.acuity = 2;
}
else if (d>=0.15514261019879 && d<0.155389554265959){
	this.patType = 4;
	this.admit = false;
	this.acuity = 3;
}
else if (d>=0.155389554265959 && d<0.155389554265959){
	this.patType = 4;
	this.admit = false;
	this.acuity = 4;
}
else if (d>0.155389554265959 && d<0.155389554265959){
	this.patType = 4;
	this.admit = false;
	this.acuity = 5;
}
else if (d>0.155389554265959 && d<0.156130386467465){
	this.patType = 5;
	this.admit = true;
	this.acuity = 1;
}
else if (d>=0.156130386467465 && d<0.1614396839115949){
	this.patType = 5;
	this.admit = true;
	this.acuity = 2;
}
else if (d=>0.161439683911594 && d<0.164156068650451){
	this.patType = 5;
	this.admit = true;
	this.acuity = 3;
}
else if (d>=0.164156068650451 && d<0.164156068650451){
	this.patType = 5;
	this.admit = true;
	this.acuity = 4;
}
else if (d>0.164156068650451 && d<0.164156068650451){
	this.patType = 5;
	this.admit = true;
	this.acuity = 5;
}
else if (d>0.164156068650451 && d<0.164526484751204){
	this.patType = 5;
	this.admit = false;
	this.acuity = 1;
}
else if (d>=0.164526484751204 && d<0.174219039387579){
	this.patType = 5;
	this.admit = false;
	this.acuity = 2;
}
else if (d>=0.174219039387579 && d<0.190517347820719){
	this.patType = 5;
	this.admit = false;
	this.acuity = 3;
}
else if (d>=0.1905173478207193 && d<0.191937276206939){
	this.patType = 5;
	this.admit = false;
	this.acuity = 4;
}
else if (d>=0.191937276206939 && d<0.192122484257316){
	this.patType = 5;
	this.admit = false;
	this.acuity = 5;
}
else if (d>=0.192122484257316 && d<0.193727620693913){
	this.patType = 6;
	this.admit = true;
	this.acuity = 1;
}
else if (d>=0.193727620693913 && d<0.20798864057291){
	this.patType = 6;
	this.admit = true;
	this.acuity = 2;
}
else if (d=>0.20798864057291 && d<0.210025929127053){
	this.patType = 6;
	this.admit = true;
	this.acuity = 3;
}
else if (d>=0.210025929127053 && d<0.210087665143845){
	this.patType = 6;
	this.admit = true;
	this.acuity = 4;
}
else if (d>=0.210087665143845 && d<0.210087665143845){
	this.patType = 6;
	this.admit = true;
	this.acuity = 5;
}
else if (d>0.210087665143845 && d<0.210828497345351){
	this.patType = 6;
	this.admit = false;
	this.acuity = 1;
}
else if (d>=0.210828497345351 && d<0.136807013211508){
this.patType = 6;
this.admit = false;
this.acuity = 2;
}
else if (d>=0.136807013211508 && d<0.141745894554883){
this.patType = 6;
this.admit = false;
this.acuity = 3;
}
else if (d>=0.141745894554883 && d<0.14193110260526){
this.patType = 6;
this.admit = false;
this.acuity = 4;
}
else if (d>=0.14193110260526 && d<0.141992838622052){
this.patType = 6;
this.admit = false;
this.acuity = 5;
}
else if (d>=0.141992838622052 && d<0.142301518706013){
this.patType = 7;
this.admit = true;
this.acuity = 1;
}
else if (d>=0.142301518706013 && d<0.143536239041857){
this.patType = 7;
this.admit = true;
this.acuity = 2;
}
else if (d=>0.143536239041857 && d<0.143659711075441){
this.patType = 7;
this.admit = true;
this.acuity = 3;
}
else if (d>=0.143659711075441 && d<0.143659711075441){
this.patType = 7;
this.admit = true;
this.acuity = 4;
}
else if (d>0.143659711075441 && d<0.143659711075441){
this.patType = 7;
this.admit = true;
this.acuity = 5;
}
else if (d>0.143659711075441 && d<0.143783183109026){
this.patType = 7;
this.admit = false;
this.acuity = 1;
}
else if (d>=0.143783183109026 && d<0.145882207679961){
this.patType = 7;
this.admit = false;
this.acuity = 2;
}
else if (d>=0.145882207679961 && d<0.147240400049389){
this.patType = 7;
this.admit = false;
this.acuity = 3;
}
else if (d>=0.147240400049389 && d<0.125818002222497){
this.patType = 7;
this.admit = false;
this.acuity = 4;
}
else if (d>=0.125818002222497 && d<0.1474256080997657){
this.patType = 7;
this.admit = false;
this.acuity = 5;
}
else if (d>=0.1474256080997657 && d<0.150018520805038){
this.patType = 8;
this.admit = true;
this.acuity = 1;
}
else if (d>=0.150018520805038 && d<0.154278305963699){
this.patType = 8;
this.admit = true;
this.acuity = 2;
}
else if (d=>0.154278305963699 && d<0.154710458081245){
this.patType = 8;
this.admit = true;
this.acuity = 3;
}
else if (d>=0.154710458081245 && d<0.154710458081245){
this.patType = 8;
this.admit = true;
this.acuity = 4;
}
else if (d>0.154710458081245 && d<0.154710458081245){
this.patType = 8;
this.admit = true;
this.acuity = 5;
}
else if (d>0.154710458081245 && d<0.154772194098037){
this.patType = 8;
this.admit = false;
this.acuity = 1;
}
else if (d>=0.154772194098037 && d<0.15514261019879){
this.patType = 8;
this.admit = false;
this.acuity = 2;
}
else if (d>=0.15514261019879 && d<0.155389554265959){
this.patType = 8;
this.admit = false;
this.acuity = 3;
}
else if (d>=0.155389554265959 && d<0.155389554265959){
this.patType = 8;
this.admit = false;
this.acuity = 4;
}
else if (d>0.155389554265959 && d<0.155389554265959){
this.patType = 8;
this.admit = false;
this.acuity = 5;
}



}